package com.zeekr.orm.model.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author 吴文杰
 * @version 1.0
 * @since 2024/11/9 05:48
 */
@TableName(value ="user")
@Data
public class UserVO {

  /**
   * 公众号openId
   */
  @TableField(value = "mpOpenId")
  private String mpopenid;

  /**
   * 用户昵称
   */
  @TableField(value = "userName")
  private String username;

  /**
   * 用户头像
   */
  @TableField(value = "userAvatar")
  private String useravatar;

  /**
   * 用户简介
   */
  @TableField(value = "userProfile")
  private String userprofile;

  /**
   * 用户角色：user/admin/ban
   */
  @TableField(value = "userRole")
  private String userrole;

  /**
   * 创建时间
   */
  @TableField(value = "createTime")
  private Date createtime;

  /**
   * 更新时间
   */
  @TableField(value = "updateTime")
  private Date updatetime;

  @TableField(value = "isDelete")
  private Integer isdelete;
}
